package com.echo.echovividlive.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiajunjie
 * @since 2024-10-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user")
@Builder
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    /**
     * 用户昵称
     */
    private String nickName;

    /**
     * 用户密码
     */
    private String password;

    /**
     * 绑定邮箱
     */
    private String email;

    /**
     * 头像链接
     */
    private String avatar;

    /**
     * 个性签名
     */
    private String personalSignature;

    /**
     * 账号创建时间
     */
    private LocalDateTime createTime;

    /**
     * 账号状态:  1 正常 0 冻结
     */
    private Boolean status;

    /**
     * 性别 1男 0女
     */
    private Integer sex;

    /**
     * 验证码
     */
    private String verifyCode;

    /**
     * 关注数
     */
    private Long followingCount;

    /**
     * 粉丝数
     */
    private Long fansCount;

    /**
     * 点赞视频数
     */

    private Integer likeCount;

    /**
     * 用户礼物余额
     */
    private Integer balance;


}
